.footer {
  width: 100%;
  height: 172px;
  background-color: #202020;
  padding-top: 42px;
  padding-left: 70px;
  padding-right: 70px;
  box-sizing: border-box;
}

.footer__line {
  width: 100%;
  height: 1px;
  background-color: #424242;
  margin-top: 19px;
  margin-bottom: 20px;
}

.footer__text {
  color: #8b8b8b;
  text-align: center;
  font-feature-settings: "clig" off, "liga" off;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.footer__container {
  display: flex;
  flex-direction: row;
}

.footer__text {
  color: #fff;
  font-feature-settings: "clig" off, "liga" off;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.footer__text:nth-child(2) {
  margin-right: 20px;
  margin-left: auto;
}

.footer__github {
  color: #fff;
  text-align: right;
  font-feature-settings: "clig" off, "liga" off;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  transition: opacity 1s;
}

.footer__text_type_link {
  text-decoration: none;
  transition: opacity 1s;
}

.footer__text_type_link:hover {
  opacity: 0.7;
}

.footer__github:hover {
  opacity: 0.7;
}

.footer__text_color_grey {
  color: #8b8b8b;
}

@media screen and (max-width: 850px) {
  .footer {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 54px;
  }
}

@media screen and (max-width: 450px) {
  .footer {
    width: 100%;
    padding-top: 40px;
    background-color: #202020;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  .footer__text {
    font-size: 12px;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
  }

  .footer__text:nth-child(2) {
    margin: 0;
    margin-top: 10px;
  }

  .footer__text:nth-child(1) {
    order: 1;
  }

  .footer__github {
    margin-top: 12px;
  }

  .footer__text_type_year {
    margin-top: 30px;
    color: #8b8b8b;
  }
}
